<template>
  <van-card
    v-for="currentNew of news"
    :price="currentNew.source"
    :desc="currentNew.digest"
    :title="currentNew.title"
    :thumb="currentNew.imgList[0]"
    currency=""
  >
    <template #footer>
      <van-button type="primary" size="small">收藏</van-button>
      <van-button size="small">隐藏</van-button>
    </template>
  </van-card>
</template>

<script setup>
defineProps(["news"]);
</script>
